package cn.tedu.sp11;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@EnableConfigServer
@EnableDiscoveryClient
@SpringBootApplication
public class Sp11ConfigApplication {

    //localhost:9001/item-service-dev.yml == http://localhost:9001/item-service/dev
    //localhost:9001/user-service-dev.yml
    public static void main(String[] args) {
        SpringApplication.run(Sp11ConfigApplication.class, args);
    }
}
